<script setup lang="ts">
import { seoConfig } from '~/config/seo'

useSeoMeta({
  title: seoConfig.products.marketingSms.title,
  description: seoConfig.products.marketingSms.description,
  keywords: seoConfig.products.marketingSms.keywords
})

// 产品优势数据
const advantages = [
  {
    icon: 'lucide:target',
    title: '精准营销',
    description: '基于用户画像和行为数据，实现精准推送，提高营销转化率'
  },
  {
    icon: 'lucide:users',
    title: '客户引流',
    description: '通过优惠活动和促销信息，吸引新客户，扩大客户群体'
  },
  {
    icon: 'lucide:user-check',
    title: '维系老客户',
    description: '定期发送会员关怀信息，增强客户忠诚度，提升复购率'
  },
  {
    icon: 'lucide:trending-up',
    title: '提升粘合度',
    description: '持续的互动营销，提升客户与品牌的粘合度和活跃度'
  },
  {
    icon: 'lucide:piggy-bank',
    title: '创造利润',
    description: '高性价比的营销方式，低成本高回报，为企业创造更多利润'
  },
  {
    icon: 'lucide:bar-chart-3',
    title: '数据分析',
    description: '提供详细的营销数据分析，优化营销策略，提升ROI'
  }
]

// 行业应用场景数据
const scenarios = [
  {
    icon: 'lucide:shopping-bag',
    title: '电商零售',
    description: '新品上架、促销活动、会员日提醒、购物车挽回、复购推荐',
    color: 'from-blue-500 to-cyan-500'
  },
  {
    icon: 'lucide:utensils',
    title: '餐饮美食',
    description: '新店开业、特价菜品、优惠券发放、会员储值、节日营销',
    color: 'from-purple-500 to-pink-500'
  },
  {
    icon: 'lucide:sparkles',
    title: '美容美发',
    description: '会员生日关怀、新项目推广、优惠活动、预约提醒、积分兑换',
    color: 'from-green-500 to-emerald-500'
  },
  {
    icon: 'lucide:graduation-cap',
    title: '教育培训',
    description: '课程推荐、优惠报名、开班通知、学员关怀、续费提醒',
    color: 'from-orange-500 to-red-500'
  },
  {
    icon: 'lucide:dumbbell',
    title: '健身会所',
    description: '会员卡推广、课程安排、私教推荐、活动邀请、到期续费',
    color: 'from-indigo-500 to-blue-500'
  },
  {
    icon: 'lucide:hotel',
    title: '酒店旅游',
    description: '特惠房源、会员折扣、节假日推广、积分活动、生日祝福',
    color: 'from-yellow-500 to-orange-500'
  }
]
</script>

<template>
  <div class="min-h-screen">
    <!-- 顶部横幅 -->
    <ProductHero
      title="会员营销短信"
      description="均适用于各行企业的宣传推广客户引流、客户挖掘维系老客户提升客户粘合度、为企业创造更多利润"
    />

    <!-- 产品优势 -->
    <section class="py-16 md:py-24 bg-gray-50">
      <div class="mx-auto px-4 max-w-6xl">
        <div class="text-center mb-16">
          <h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-4">
            产品优势
          </h2>
          <p class="text-lg text-gray-600">
            精准营销，助力企业增长
          </p>
        </div>

        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8">
          <div
            v-for="(advantage, index) in advantages"
            :key="index"
            class="bg-white rounded-2xl p-6 md:p-8 shadow-sm hover:shadow-lg transition-all group"
          >
            <div class="w-14 h-14 bg-gradient-to-br from-blue-500 to-cyan-500 rounded-xl flex items-center justify-center mb-6 group-hover:scale-110 transition-transform">
              <Icon :name="advantage.icon" class="w-7 h-7 text-white" />
            </div>
            <h3 class="text-xl font-bold text-gray-900 mb-3">
              {{ advantage.title }}
            </h3>
            <p class="text-gray-600 leading-relaxed">
              {{ advantage.description }}
            </p>
          </div>
        </div>
      </div>
    </section>

    <!-- 行业应用场景 -->
    <section class="py-10 md:py-15 bg-white">
      <div class="mx-auto px-4 max-w-6xl">
        <div class="text-center mb-8 md:mb-10">
          <h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-4">
            行业应用场景
          </h2>
          <p class="text-lg text-gray-600">
            覆盖各行各业，助力企业营销增长
          </p>
        </div>

        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8">
          <div
            v-for="(scenario, index) in scenarios"
            :key="index"
            class="group relative bg-white rounded-2xl p-6 md:p-8 border-2 border-gray-100 hover:border-transparent hover:shadow-xl transition-all overflow-hidden"
          >
            <!-- 悬停时的渐变背景 -->
            <div 
              class="absolute inset-0 bg-gradient-to-br opacity-0 group-hover:opacity-10 transition-opacity"
              :class="scenario.color"
            />
            
            <div class="relative">
              <div 
                class="w-14 h-14 rounded-xl flex items-center justify-center mb-6 bg-gradient-to-br"
                :class="scenario.color"
              >
                <Icon :name="scenario.icon" class="w-7 h-7 text-white" />
              </div>
              <h3 class="text-xl font-bold text-gray-900 mb-3">
                {{ scenario.title }}
              </h3>
              <p class="text-gray-600 leading-relaxed">
                {{ scenario.description }}
              </p>
            </div>
          </div>
        </div>
      </div>
    </section>

    <!-- CTA 部分 -->
    <CallToAction />
  </div>
</template>

